<!DOCTYPE HTML>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport"
		content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
	<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
	<title>关于我们</title>
	<link rel="stylesheet" type="text/css" href=" ../../../css/api.css" />
	<style>
		body {
			width: 100%;
			height: 100%;
			background: #f5f5f5;
		}

		#app .header {
			width: 100%;
			height: 44px;
			line-height: 44px;
			text-align: center;
			position: relative;
			background-color: #ffffff;
			font-size: 16px;
			display: flex;
			align-items: center;
			justify-content: center;
		}

		#app .header img {
			width: 22px;
			height: 22px;
		}

		#app .header img:first-child {
			position: absolute;
			left: 15px;
		}

		#app .tops {
			padding: 35px 0 40px;

		}

		#app .tops .logo {
			width: 100%;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
		}

		#app .tops .logo .logo_pic {
			width: 75px;
			height: 75px;
			border-radius: 10px;
			object-fit: fill
		}

		#app .tops .logo .name {
			text-align: center;
			font-weight: bold;
			font-size: 16px;
		}

		.name img {
			width: 100%;
			height: 100%;
		}

		#app .info {
			width: 100%;
			padding: 0 15px;
			background-color: #ffffff;
			box-sizing: border-box;
			margin-bottom: 10px;
		}

		#app .info .info_one .one_ {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 20px 0;
			box-sizing: border-box;
			border-bottom: 1px solid #f5f5f5
		}

		#app .info .info_one .one_:last-child {
			border-bottom: 0;
		}

		#app .info .info_one .one_ .one_left {
			font-size: 16px;
			color: #000000;
		}

		#app .info .info_one .one_ .one_left div:first-child {
			font-size: 16px;
			color: #000000;
			line-height: 16px;
			margin-bottom: 10px;
		}

		#app .info .info_one .one_ .one_left div:last-child {
			font-size: 11px;
			color: #999999;
			line-height: 11px;
		}

		#app .info .info_one .one_ img {
			width: 5.5px;
			height: 10px;
		}

		#app .info .info_one .one_ img.my_pic {
			width: 50px;
			height: 50px;
			border-radius: 50%;
			margin-right: 10px;
		}

		#app .info .info_one .one_ div {
			font-size: 16px;
			color: #999;
			margin-right: 10px;
		}

		#app .info .info_one .one_ .one_right {
			display: flex;
			align-items: center;
		}
	</style>
</head>

<body>
	<div id="app">
		<div class="header">
			<img src=" ../../../image/icon_return.png" alt="" onclick="back()">关于我们
		</div>
		<div class="tops">
			<div class="logo">
				<img class="logo_pic" src="../../../image/sheng.png" alt="">
				<div class="name">

				</div>
			</div>
		</div>
		<div class="info">
			<div class="info_one">
				<div class="one_">
					<div class="one_left">
						当前版本
					</div>
					<div class="one_right"  tapmode onclick="checkFun()">
						<div></div>
						<img src=" ../../../image/icon_more.png" alt="">
					</div>
				</div>
				<!-- <div class="one_">
					<div class="one_left">
						新版更新
					</div>
					<div class="one_right">
						<div>暂无更新</div>
						<img src=" ../../../image/icon_more.png" alt="">
					</div>
				</div> -->
			</div>
		</div>
	</div>
</body>
<script type="text/javascript" src=" ../../../script/api.js"></script>
<script type="text/javascript">
	apiready = function () {
		resume("about_us");
		$api.fixStatusBar($api.dom('.header'));
		$api.html($api.dom(".name"), api.getGlobalData({
			key: 'config_info'
		}).app_name);
		$api.html($api.dom(".one_right div"), api.appVersion);
	}

	function back() {
		api.closeWin({
		});
	}

	// 檢查是否有更新
	function checkFun(){
	// 	api.requestPermission({
	// 	    list:['storage'],
	// 	    code:1
	// 	}, function(ret, err){
	//     var mam = api.require('mam');
	//     mam.checkUpdate(function(ret, err) {
	//         if (ret) {
	//             var result = ret.result;
	//             if (result.update == true && result.closed == false) {
	//                 var str = '新版本型号:' + result.version + ';更新提示语:' + result.updateTip +
	//                  ';发布时间:' + result.time;
	//                 api.confirm({
	//                     title : '有新的版本,是否下载并安装 ',
	//                     msg : str,
	//                     buttons : ['确定', '取消']
	//                 }, function(ret, err) {
	//                     if (ret.buttonIndex == 1) {
	//                         if (api.systemType == "android") {
	//                             api.download({
	//                                 url : result.source,
	//                                 report : true
	//                             }, function(ret, err) {
	//                                 if (ret && 0 == ret.state) {/* 下载进度 */
	//                                     api.toast({
	//                                         msg : "正在下载应用" + ret.percent + "%",
	//                                         duration : 2000
	//                                     });
	//                                 }
	//                                 if (ret && 1 == ret.state) {/* 下载完成 */
	//                                     var savePath = ret.savePath;
	//                                     api.installApp({
	//                                         appUri : savePath
	//                                     });
	//                                 }
	//                             });
	//                         }
	//                         if (api.systemType == "ios") {
	//                             api.installApp({
	//                                 appUri : result.source
	//                             });
	//                         }
	//                     }
	//                 });
	//             } else {
	//                 api.alert({
	//                     msg : "暂无更新"
	//                 });
	//             }
	//         } else {
	//             api.alert({
	//                 msg : err.msg
	//             });
	//         }
	//     });
	//
	// })
	}

</script>

</html>
